var angular = require('angular');
var routes = require('./routes/login.routes');

var loginRegisterService = require('./services/login-register.service');

var loginController = require('./controllers/login.controller')
var registerController = require('./controllers/register.controller')

const moduleName = 'login';

angular.module(moduleName, [])
    .config(routes)
    .factory('loginRegisterService',loginRegisterService)
    .controller('loginController',loginController)
    .controller('registerController',registerController);

module.exports = moduleName;